import 'package:json_annotation/json_annotation.dart';
@JsonSerializable()
class WangYIBean {
  String path;
  String image;
  String title;
  String passtime;

  WangYIBean({this.path, this.image, this.title, this.passtime});

  WangYIBean.fromJson(Map<String, dynamic> json) {
    path = json['path'];
    image = json['image'];
    title = json['title'];
    passtime = json['passtime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['path'] = this.path;
    data['image'] = this.image;
    data['title'] = this.title;
    data['passtime'] = this.passtime;
    return data;
  }
}